"""Uvicorn 应用入口点."""

import uvicorn

from app.core.config import settings

if __name__ == "__main__":
    uvicorn.run(
        "app.server:create_app",
        host=settings.LISTEN_HOST,
        port=settings.LISTEN_PORT,
        reload=settings.DEBUG,
        log_config=None,
        factory=True,
    )
